package com.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.domain.entity.Business;
import com.github.pagehelper.Page;

import java.time.LocalDateTime;

/**
 * <p>
 * 商机信息表 Mapper 接口
 * </p>
 *
 * @author Hulunico
 * @since 2024-08-06
 */
public interface BusinessMapper extends BaseMapper<Business> {

    Page<Business> selectByPage(  Integer id,
                                    String name,
                                    String phone,
                                    String owener,
                                    Integer status,LocalDateTime beginCreateTime, LocalDateTime endCreateTime);

    Page<Business> selectByPoolPage(Integer id, String name, String phone, String subject, LocalDateTime beginCreateTime, LocalDateTime endCreateTime);
}
